package router

import (
	"api_getway/handler/api"
	"api_getway/middleware"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {

	r.POST("video/add", middleware.ContentSecurityMiddleware(), api.AddVideo)

	r.POST("video/show", api.ShowVideo)
}
